package com.aia.prm.web.ria.app.ui.file;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.aia.prm.domain.VOFile;
import com.aia.prm.domain.VOPlan;
import com.vaadin.data.util.BeanItemContainer;

@SuppressWarnings("serial")
public class FileContainer extends BeanItemContainer<VOFile> implements Serializable {
	public static final Object[] NATURAL_COL_ORDER = new Object[] { "f_ID", "f_TAG", "f_DATE", "pic" };

	public static final String[] COL_HEADERS_SHOW = new String[] { "图片ID", "标签", "日期", "pic" };

	public static final Object[] NATURAL_COL_ORDER_FORM = new Object[] { "f_ID", "f_TAG", "f_DATE" };

	public static final Map<String, String> FIELD_NAME_MAP = new HashMap<String, String>();

	static {
		FIELD_NAME_MAP.put("f_ID", "图片ID");
		FIELD_NAME_MAP.put("f_TAG", "标签");
		FIELD_NAME_MAP.put("f_DATE", "日期");
	}

	public FileContainer() throws InstantiationException, IllegalAccessException {
		super(VOFile.class);
	}
}